<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

    <head>
        <meta charset="utf-8" />
        <title>Administrador</title>
        <meta content="width=device-width, initial-scale=1.0" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />

        <link href="<?php echo $this->baseUrl; ?>/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/css/metro.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/css/style.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/css/style_responsive.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/css/style_default.css" rel="stylesheet" id="style_color" />
        <link href="<?php echo $this->baseUrl; ?>/assets/fancybox/source/jquery.fancybox.css" rel="stylesheet" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/assets/gritter/css/jquery.gritter.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/assets/uniform/css/uniform.default.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/assets/bootstrap-daterangepicker/daterangepicker.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/assets/chosen-bootstrap/chosen/chosen.css" />
        <link href="<?php echo $this->baseUrl; ?>/assets/fullcalendar/fullcalendar/bootstrap-fullcalendar.css" rel="stylesheet" />
        <link href="<?php echo $this->baseUrl; ?>/assets/jqvmap/jqvmap/jqvmap.css" media="screen" rel="stylesheet" type="text/css" />
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo $this->baseUrl; ?>/assets/ico/apple-touch-icon-144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $this->baseUrl; ?>/assets/ico/apple-touch-icon-114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $this->baseUrl; ?>/assets/ico/apple-touch-icon-72-precomposed.png">
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/assets/bootstrap-datepicker/css/datepicker.css" />
        <link rel="apple-touch-icon-precomposed" href="<?php echo $this->baseUrl; ?>/assets/ico/apple-touch-icon-57-precomposed.png">
        <link rel="stylesheet" href="<?php echo $this->baseUrl; ?>/assets/css/apprise.css" type="text/css" />
        <link rel="shortcut icon" href="<?php echo $this->baseUrl; ?>/Bienestar.png">

        <!-- VALIDAR FORMULARIOS ESTILO----------------------------------------------->
        <link href="<?php echo $this->baseUrl; ?>/assets/css/validaFormJQ.css" rel="stylesheet" type="text/css" />
        <!---------------------------------------------------------------------------->


        <!----------- VENTANAS MODALES--->
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->baseUrl; ?>/assets/fancybox2/jquery.fancybox.css">
        <!----------- VENTANAS MODALES ---------->


    </head>

    <body class="fixed-top">
        <!-- BEGIN HEADER -->
        <div class="header navbar navbar-inverse navbar-fixed-top">
            <!-- BEGIN TOP NAVIGATION BAR -->
            <div class="navbar-inner">
                <div class="container-fluid">
                    <!-- BEGIN LOGO -->
                    <a class="brand" href="#">
                        <img src="<?php echo $this->baseUrl; ?>/assets/img/escudo_small.png" alt="logo" />
                    </a>
                    <!-- END LOGO -->
                    <!-- BEGIN RESPONSIVE MENU TOGGLER -->
                    <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
                        <img src="<?php echo $this->baseUrl; ?>/assets/img/menu-toggler.png" alt="" />
                    </a>          
                    <!-- END RESPONSIVE MENU TOGGLER -->				
                    <!-- BEGIN TOP NAVIGATION MENU -->					
                    <ul class="nav pull-right">
                        <!-- BEGIN USER LOGIN DROPDOWN -->
                        <li class="dropdown user">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img alt="" src="<?php echo $this->baseUrl; ?>/assets/img/bienestar_small_2.png" />
                                <?php
                                $namespace = new Zend_Session_Namespace("User_Session");                                
                                ?> 
                                <span class="username"><?php echo $namespace->Nombre ?></span>
                                <i class="icon-angle-down"></i>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="<?php echo $this->url(array('controller' => 'Index', 'action' => 'cuenta')); ?>">
                                        <i class="icon-lock"></i> Cuenta</a></li>
                                <li class="divider"></li>
                                <!--<li><a href="login.html"><i class="icon-key"></i> Log Out</a></li>-->
                                <li><a href="<?php echo $this->url(array('module' => 'default', 'controller' => 'autentifica', 'action' => 'logout')); ?>">
                                        <i class="icon-key"></i> Cerrar Sesión</a></li>
                            </ul>
                        </li>
                        <!-- END USER LOGIN DROPDOWN -->
                    </ul>
                    <!-- END TOP NAVIGATION MENU -->	
                </div>
            </div>
            <!-- END TOP NAVIGATION BAR -->
        </div>
        <!-- END HEADER -->
        <!-- BEGIN CONTAINER -->	
        <div class="page-container row-fluid">
            <!-- BEGIN SIDEBAR -->
            <div class="page-sidebar nav-collapse collapse">
                <?php echo $this->render('administracionSidebar.phtml'); ?>
            </div>
            <!-- END SIDEBAR -->
            <!-- BEGIN PAGE -->
            <div class="page-content">
                <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
                <div id="portlet-config" class="modal hide">
                    <div class="modal-header">
                        <button data-dismiss="modal" class="close" type="button"></button>
                        <h3>portlet Settings</h3>
                    </div>
                    <div class="modal-body">
                        <p>Here will be a configuration form</p>
                    </div>
                </div>
                <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
                <!-- BEGIN PAGE CONTAINER-->
                <div class="container-fluid">                
                    <?php echo $this->layout()->content ?>
                </div>
                <!-- END PAGE CONTAINER-->	
            </div>
            <!-- END PAGE -->	 	
        </div>
        <!-- END CONTAINER -->
        <!-- BEGIN FOOTER -->
        <div class="footer">
            2013 - Universidad Distrital Francisco José de Caldas - Bienestar Institucional.
            <div class="span pull-right">
                <span class="go-top"><i class="icon-angle-up"></i></span>
            </div>
        </div>
        <!-- END FOOTER -->

        <!-- BEGIN JAVASCRIPTS -->    
        <!-- Load javascripts at bottom, this will reduce page load time -->
        <script src="<?php echo $this->baseUrl; ?>/assets/js/jquery-1.8.3.min.js"></script>    
        <script src="<?php echo $this->baseUrl; ?>/assets/breakpoints/breakpoints.js"></script>       
        <script src="<?php echo $this->baseUrl; ?>/assets/bootstrap/js/bootstrap.min.js"></script>
        <script src="<?php echo $this->baseUrl; ?>/assets/js/jquery.blockui.js"></script>
        <script src="<?php echo $this->baseUrl; ?>/assets/js/jquery.cookie.js"></script>
        <!-- ie8 fixes -->
        <!--[if lt IE 9]>
        <script src="assets/js/excanvas.js"></script>
        <script src="assets/js/respond.js"></script>
        <![endif]-->

        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/chosen-bootstrap/chosen/chosen.jquery.min.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/uniform/jquery.uniform.min.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-wysihtml5/wysihtml5-0.3.0.js"></script> 
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-toggle-buttons/static/js/jquery.toggle.buttons.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-daterangepicker/date.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-daterangepicker/daterangepicker.js"></script> 
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>  
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/js/app.js"></script>  

        <!--TABLAS DINAMICAS-->
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/data-tables/jquery.dataTables.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/data-tables/DT_bootstrap.js"></script>
        <!--TABLAS DINAMICAS-->


        <!--LIBRERIAS DE VALIDACION DE FORMULARIOS-->
        <script src="<?php echo $this->baseUrl; ?>/assets/js/jquery.validationEngine.js" type="text/javascript"></script>
        <script src="<?php echo $this->baseUrl; ?>/assets/js/jquery.validationEngine-es.js" type="text/javascript"></script>
        <!--LIBREIAS DE VALIDACION DE FORMULARIOS-->

        <script src="<?php echo $this->baseUrl; ?>/assets/js/apprise-1.5.full.js" type="text/javascript"></script>


        <!-- WIZARD CREACION DE BENEFICIARIOS--------------------------------------------------------------------->

        <script src="<?php //echo $this->baseUrl;                                      ?>assets/bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script> <script src="<?php //echo $this->baseUrl;                                      ?>/assets/bootstrap-wizard/bootstrap/js/bootstrap.min.js"></script>
        <script src="<?php echo $this->baseUrl; ?>/assets/bootstrap-wizard/jquery.bootstrap.wizard.js"></script>
        <script src="<?php //echo $this->baseUrl;                                      ?>/assets/bootstrap-wizard/prettify.js"></script>


        <script>

            $(document).ready(function() {
                //CREACION DE BENEFICIARIOS
                $("#crearBeneficiario1").validationEngine();
                $("#crearBeneficiario2").validationEngine();
                $("#crearBeneficiario3").validationEngine();
                $("#crearBeneficiarioConfirmar").validationEngine();               
                $("#frmRegistrarEstudiante").validationEngine();
                //--------------------------------------------------------------
                $("#formulario").validationEngine();
                $("#formActualizar").validationEngine();
                $("#formCambiarEstado").validationEngine(); 
                $("#informacionPersonal").validationEngine();
                $("#cambiarContraseña").validationEngine();
                $("#recuperarContraseña").validationEngine();
                $("#generarListas").validationEngine();  
                $("#consultarAuxilios").validationEngine(); 
            });
        </script>


        <!----------- VENTANAS MODALES ---------->
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/assets/fancybox2/jquery.fancybox.js?v=2.0.6"></script>

        <script type="text/javascript">
            $(document).ready(function() {
                $(".modalbox").fancybox();
                //$("#contact").submit(function() { return false; });
            });
        </script>
        <!----------- VENTANAS MODALES ---------->

        <script type='text/javascript'> 
            var url = '<?php echo $this->baseUrl; ?>'; 
        </script>

        <script>
            jQuery(document).ready(function() {       
                // initiate layout and plugins
                App.init();                
            });
        </script>

        <!-- END JAVASCRIPTS --> 
    </body>